#include <cassert>
#include <cstdio>

int max_traditional(int * array, int len){
  int result = array[0];
  for(int i = 1; i < len ; ++i){
    if(result < array[i] ){
      result = array[i];
    }
  }
  return result;
}

int main(){
  {
    int array[] = {0, 1, 2, 3};
    assert(3 == max_traditional(array, 4));
  }
  {
  }
  return 0;
}
